# Template file for 'pcsc-acsccid'
pkgname=pcsc-acsccid
version=1.1.0
revision=1
build_style=gnu-configure
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://acsccid.sourceforge.net"
license="LGPL-2.1"
short_desc="PC/SC driver to support ACS CCID smart card readers"
configure_args="--enable-udev"
hostmakedepends="pkg-config flex perl"
makedepends="pcsclite-devel libudev-devel libusb-compat-devel"
depends="pcsclite"
distfiles="${SOURCEFORGE_SITE}/${pkgname/pcsc-/}/${pkgname/pcsc-/}-${version}.tar.bz2"
checksum=f7d24cb3a4d988f1120a5f17a574065d8add7857bd16eda6096b2c5557eea9dd
wrksrc="${pkgname/pcsc-/}-${version}"

post_install() {
	vinstall src/92_pcscd_acsccid.rules 644 usr/lib/udev/rules.d/
	vdoc src/supported_readers.txt
	vdoc README
}
