# Template file for 'nxt'
pkgname=nxt
version=1.11.15
revision=1
wrksrc="${pkgname}"
hostmakedepends="unzip"
depends="virtual?java-runtime"
short_desc="Client for the NXT cryptocurrency"
maintainer="Fabio Krapohl <fabio.u.krapohl@fau.de>"
license="Jelurida Public License 1.1"
homepage="https://nxt.org"
distfiles="https://bitbucket.org/Jelurida/${pkgname}/downloads/${pkgname}-client-${version}.zip"
checksum=933f7a5ed02b6f4af2d50060e60acda746a2261f733b90f2ab969e951c735dfa

do_install() {
	vbin ${FILESDIR}/bin/${pkgname}
	vbin ${FILESDIR}/bin/${pkgname}-tor

	vsv ${pkgname}
	vsv ${pkgname}-tor

	vlicense LICENSE.txt

	vmkdir usr/lib/${pkgname}
	vcopy . usr/lib/${pkgname}
}
