# Template file for 'nxt'
pkgname=nxt
version=1.12.2
revision=1
hostmakedepends="unzip"
depends="virtual?java-runtime"
short_desc="Client for the NXT cryptocurrency"
maintainer="Fabio Krapohl <Krapohl.f@gmx.de>"
license="custom:Jelurida Public License 1.1"
homepage="https://nxt.org"
distfiles="https://bitbucket.org/Jelurida/${pkgname}/downloads/${pkgname}-client-${version}.zip"
checksum=83689f6d85e59be44920328d99aa934bb8998f4b5c7ea8088c83ab4503b49a42

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}
}
