# Template file for 'google-authenticator-libpam'
pkgname=google-authenticator-libpam
version=1.05
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.eu>"
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=862412d6927ee1a19d81150006d53c21935897ba6d033616c31fc4d6aaa4db08
replaces="libpam-google-authenticator>=0"

pre_configure() {
	autoreconf -fi
}

do_check() {
	# Tries to change user to nobody and fails due to being in a user namespace
	:
}
