# Template file for 'pam-u2f'
pkgname=pam-u2f
version=1.0.4
revision=2
wrksrc="${pkgname/-/_}-${version}"
build_style=gnu-configure
configure_args="--with-pam-dir=/usr/lib/security"
hostmakedepends="automake libtool pkg-config"
makedepends="libu2f-host-devel libu2f-server-devel pam-devel"
short_desc="Pluggable Authentication Module (PAM) for U2F"
maintainer="Matthew Wynn <matthew@matthewwynn.com>"
license="BSD"
homepage="https://developers.yubico.com/pam-u2f/"
distfiles="https://developers.yubico.com/pam-u2f/Releases/pam_u2f-${version}.tar.gz"
checksum="71542e4568e6d2acaa50810a93c67297ba402f960da1ebb621413bd31f0732a1"

post_install() {
	vlicense COPYING LICENSE
}

