# Template file for 'nitroshare'
pkgname=nitroshare
version=0.3.4
revision=3
build_style=cmake
pycompile_dirs="usr/share/nautilus-python/extensions
 usr/share/nemo-python/extensions
 usr/share/caja-python/extensions"
hostmakedepends="pkgconf qt5-qmake"
makedepends="qt5-devel qt5-tools-devel qt5-svg-devel libnotify
 qhttpengine-devel qmdnsengine-devel"
short_desc="Network file transfer application"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="http://nitroshare.net"
distfiles="https://github.com/nitroshare/nitroshare-desktop/archive/${version}.tar.gz"
checksum=29874e5909c29211a3c9e13f8c0f49b901ec2996e5d60d80af80d2fb80c3d7ec
python_version=3

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

post_install() {
	vlicense LICENSE.txt
}
