# Template file for 'yubikey-manager'
pkgname=yubikey-manager
version=5.2.1
revision=2
build_style=python3-pep517
hostmakedepends="python3-poetry-core"
depends="libfido2 python3-click python3-fido2 python3-cryptography
 python3-setuptools python3-keyring python3-pyscard"
checkdepends="$depends python3-pytest python3-makefun"
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=35c5aa83ac474fd2434c33267dc0e33d312b3969b108f885e533463af3fbe4e1

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