# $Id: PKGBUILD 64475 2012-02-14 08:13:58Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Fetid Frog <fetidfrog at gmail dot com>

pkgname=batti
pkgver=0.3.8
pkgrel=3
pkgdesc="Simple battery monitor for the system tray"
arch=('any')
url="http://code.google.com/p/batti-gtk/"
license=('GPL')
depends=('dbus-python' 'pygtk' 'gtk2' 'upower' 'hicolor-icon-theme')
optdepends=('notification-daemon: for power status notifications' 'xfce4-notifyd: alternative to notification-daemon')
install=$pkgname.install
source=("http://batti-gtk.googlecode.com/files/$pkgname-$pkgver.tar.gz")
sha256sums=('a63f99bc63dad743abef18ac666e11247011cf9136a11286b131467d9f484d1c')

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python2 setup.py install --root="$pkgdir/" --optimize=1
}

# vim:set ts=2 sw=2 et:
