# Template file for 'bokken'
pkgname=bokken
version=1.8
revision=1
wrksrc="inguma-bokken-f256023cb91b"
short_desc="GUI for the Pyew malware analysis tool and Radare"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://bitbucket.org/inguma/bokken"
distfiles="https://bitbucket.org/inguma/bokken/get/${version}.tar.gz"
checksum=c888c241c9f2a9e0a91e8d10f8eb5f55323bd831280054940686877c49cd7947
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
}
