# Template file for 'google-authenticator-libpam'
pkgname=google-authenticator-libpam
version=1.09
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="pam-devel"
short_desc="PAM module for two-factor authentication"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/google/google-authenticator-libpam"
distfiles="https://github.com/google/google-authenticator-libpam/archive/$version.tar.gz"
checksum=ab1d7983413dc2f11de2efa903e5c326af8cb9ea37765dacb39949417f7cd037
replaces="libpam-google-authenticator>=0"
# Tries to change user to nobody and fails due to being in a user namespace
make_check=no

pre_configure() {
	autoreconf -fi
}
