# Template file for 'bokken'
pkgname=bokken
version=1.6
revision=3
short_desc="GUI for the Pyew malware analysis tool and Radare the reverse engineering framework"
maintainer="pancake <pancake@nopcode.org>"
license="GPL-2"
homepage="http://inguma.eu/projects/bokken/"
distfiles="http://inguma.eu/attachments/download/197/${pkgname}-${version}.tar.gz"
checksum=4770602585b3e77b2977a8a6906c91ae0d64373eae328f42688106224c8bbc12

makedepends="pygtk pygtksourceview radare2 r2-bindings"

do_install() {
	vmkdir usr/lib/bokken
	vmkdir usr/bin
	cp -rf * ${DESTDIR}/usr/lib/bokken
	ln -frs ${DESTDIR}/usr/lib/bokken/bokken.py ${DESTDIR}/usr/bin/bokken
}

bokken_package() {
	noarch="yes"
	pycompile_dirs="/usr/lib/bokken"
	depends="${makedepends}"
	pkg_install() {
		vmove usr
	}
}