# Template file for 'xkcdpass'
pkgname=xkcdpass
version=1.16.2
revision=1
noarch=yes
build_style=python3-module
pycompile_module="xkcdpass"
hostmakedepends="python3-setuptools"
checkdepends="python3-pytest"
depends="python3-setuptools"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Generate secure multiword passwords/passphrases, inspired by XKCD"
homepage="https://github.com/redacted/XKCD-password-generator"
license="BSD"
distfiles="https://github.com/redacted/XKCD-password-generator/archive/xkcdpass-${version}.tar.gz"
checksum=be1aff73a07226b22e21e31f40f6f51f87ebeaa15cf92260aebb0105a2e5bb73
wrksrc="XKCD-password-generator-xkcdpass-${version}"

do_check() {
	pytest3
}

post_install() {
	vman xkcdpass.1
	vlicense LICENSE.BSD
}
