# Template file for 'yubikey-manager'
pkgname=yubikey-manager
version=5.9.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-poetry-core"
depends="libfido2 python3-click python3-fido2 python3-cryptography
 python3-setuptools python3-keyring python3-pyscard python3-pskc"
checkdepends="$depends python3-pytest python3-makefun python3-astroid"
short_desc="Library and CLI tools to configure YubiKey"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="BSD-2-Clause"
homepage="https://developers.yubico.com/yubikey-manager/"
distfiles="https://developers.yubico.com/yubikey-manager/Releases/${pkgname/-/_}-${version}.tar.gz"
checksum=9584c7377449e6487140da6c3f13a289e618b0023c8414be91c1c212fce3c473

post_install() {
	vman man/ykman.1
	vlicense COPYING
}
