# Template file for 'bokken'
pkgname=bokken
version=1.8
revision=1
short_desc="GUI for the Pyew malware analysis tool and Radare the reverse engineering framework"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://inguma.eu/projects/bokken/"
distfiles="http://inguma.eu/attachments/download/212/${pkgname}-${version}.tar.gz"
checksum=1c73885147dfcf0a74ba4d3dd897a6aabc11a4a42f95bd1269782d0b2e1a11b9
only_for_archs="i686 x86_64"

makedepends="pygtk pygtksourceview radare2 r2-bindings"
depends="${makedepends}"
pycompile_dirs="/usr/lib/bokken"

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
}
