# Template file for 'hamster-applet'
pkgname=hamster-applet
version=2.91.2
revision=1
build_style=waf
short_desc="Time tracking application for individuals"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://projecthamster.wordpress.com"
distfiles="${GNOME_SITE}/sources/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
checksum=e16cccbc3f9127b5fbf0aea72e2c3d42ff4ebff756e9ef9acad8f2ce492c2d14
long_desc="
 Project Hamster is time tracking for individuals. It helps you to keep track
 on how much time you have spent during the day on activities you choose to
 track."

noarch=yes
pycompile_module="hamster"
depends="pygtk dbus-python python-gconf notify-python"
makedepends="pkg-config intltool gnome-doc-utils glib-devel dbus-glib-devel
 docbook2x python-devel gnome-control-center"

post_install() {
	mv ${DESTDIR}/etc/gconf ${DESTDIR}/usr/share

	# Remove panel applet that incompatible with GNOME Panel 3
	rm -r ${DESTDIR}/usr/lib/{bonobo,hamster-applet,python2.7/site-packages/hamster/applet.py}
}

