# Maintainer: Bruno Pagani <archange@archlinux.org>

pkgname=acsccid
pkgver=1.1.11
pkgrel=1
pkgdesc="PC/SC driver that supports ACS CCID smart card readers."
arch=(x86_64)
url="http://acsccid.sourceforge.net/"
license=(LGPL2.1)
depends=(pcsclite libusb)
source=(https://downloads.sourceforge.net/acsccid/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('2fcda6ed1f5d2f07e202b51f9a600a61c83e1a73a96f51ed0f9e4f781c9c1282')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
