# Template file for 'python3-pynitrokey'
pkgname=python3-pynitrokey
version=0.12.3
revision=1
build_style=python3-pep517
hostmakedepends="python3-poetry-core"
depends="python3-cffi python3-click
 python3-semver python3-libusb1
 python3-hidapi python3-pyserial
 python3-cryptography python3-fido2
 python3-usb python3-requests python3-intelhex
 python3-nkdfu python3-nitrokey
 python3-nethsm python3-pyscard libnitrokey
 python3-tqdm python3-tlv8"
short_desc="CLI for the Nitrokey FIDO2, Nitrokey Start, Nitrokey 3 and NetHSM"
maintainer="Mateusz Sylwestrzak <slymattz@gmail.com>"
license="LGPL-3.0-only OR GPL-3.0-or-later OR Apache-2.0 OR MIT"
homepage="https://github.com/Nitrokey/pynitrokey"
distfiles="https://github.com/Nitrokey/pynitrokey/archive/refs/tags/v${version}.tar.gz"
checksum=d74427bd9cc5ad25fa7ec55db19f273015ffa09f975069dc02e3e6a2865485f6

post_install() {
	vlicense LICENSES/MIT.txt
}
