# Maintainer (Arch): Emil Vanherp <emil DOT vanherp @ hot mail DOT com>
# Contributor (Arch): Alad Wenter <https://wiki.archlinux.org/index.php/Special:EmailUser/Alad>
# Contributor (Arch): Xavier D. <magicrhesus@ouranos.be>
# Contributor (Arch): Valere Monseur <valere.monseur@ymail.com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=eid-mw
pkgver=4.1.9
pkgrel=1

pkgdesc="The eID middleware for the Belgian eID"
url=http://eid.belgium.be/
arch=('i686' 'x86_64')
license=('LGPL3')

depends=('pcsclite' 'gtk2')
optdepends=('acsccid: ACS CCID smart card readers'
	    'ccid: A generic USB Chip/Smart Card Interface Devices driver'
	    'pcsc-tools: PC/SC smartcard tools')
source=("https://dist.eid.belgium.be/continuous/sources/$pkgname-$pkgver-v$pkgver.tar.gz"{,.asc})
md5sums=('8812f910124441c325aa056c6af2b5d5' 'SKIP')
validpgpkeys=('D95426E309C0492990D8E8E2824A5E0010A04D46')
build() {
	cd "$pkgname-$pkgver-v$pkgver"
	./configure --prefix=/usr --libexecdir=/usr/bin
	make
}

package() {
	cd "$pkgname-$pkgver-v$pkgver"
	make install DESTDIR="$pkgdir"
}
     
# vim:set ts=2 sw=2 et: