#Maintainer: maximus <maximus[at]gmail[dot]com>

pkgname=tint2
pkgver=0.7.1
pkgrel=1mb
arch=i486
source=(http://tint2.googlecode.com/files/tint2-0.7.1.tar.gz)
sourcetemplate=http://people.salixos.org/maximuus/$pkgname/$pkgver
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://code.google.com/p/tint2

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"tint2 - an ultralightweight panel for openbox"
"Tint2 (formerly ttm) is a simple panel/taskbar intentionally made"  
"for openbox3, but should also work with other window managers. The"
"goal is to keep a clean and unintrusive look with code lightweight"
"and compliance with freedesktop specifications. Features include:"
"*panel with taskbar, systray and clock *color/transparency on font,"
"icon, border and background *pager like capability : send task from"
"one workspace to another, switch workspace *multi-monitor capability"
"*customize mouse event *window manager's menu"
)

build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --docdir=/usr/doc/$pkgname-$pkgver --enable-examples || exit 1
	make || exit 1
	make install DESTDIR=$startdir/pkg || exit 1
}