#Maintainer: Maximus (maximus[at]gmail[dot]com)

pkgname=tint2
pkgver=0.11
pkgrel=1tm
source=(http://tint2.googlecode.com/files/tint2-$pkgver.tar.bz2)
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
	mkdir build
	cd build
	cmake -DCMAKE_INSTALL_PREFIX=/usr ../
	make -j $numjobs || exit 1
	make install DESTDIR=$startdir/pkg || exit 1
}