# Template file for 'xdot'
pkgname=xdot
version=20130128
revision=1
build_style=python-module
makedepends="graphviz pygtk python-distribute xbps-triggers>=0.46"
short_desc="Interactive viewer for Graphviz dot files"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="https://code.google.com/p/jrfonseca/wiki/XDot"


do_fetch() {
	local url="https://code.google.com/p/jrfonseca.xdot"
	msg_normal "Fetching source from $url ...\n"
	git clone ${url} xdot-${version}
}

xdot_package() {
	depends="${makedepends}"
	noarch="yes"
	pycompile_module="xdot.py"
	pkg_install() {
		vmove usr
	}
}