# Template file for 'nitrokey-app'
pkgname=nitrokey-app
version=1.4.2
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="bash-completion cppcodec libnitrokey-devel qt5-devel qt5-tools-devel qt5-svg-devel"
short_desc="Management application for Nitrokey tokens"
maintainer="Renato Aguiar <renato@renatoaguiar.net>"
license="GPL-3.0-only"
homepage="https://github.com/Nitrokey/nitrokey-app"
distfiles="https://github.com/Nitrokey/nitrokey-app/archive/v${version}.tar.gz"
checksum=9b0da3e560e0448c743bebc017440f004ec68b3504d5a2af594f4ed1bc9135a7

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-host-tools qt5-qmake"
fi
