# Template build file for 'pekwm'.
pkgname=pekwm
version=0.1.11
revision=3
distfiles="http://www.pekwm.org/projects/3/files/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="Window manager based on aewm++"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=a646e5f09a61ac4e7195ff8acf100dbadca035e84dd677fbedca00a6108a741f
long_desc="
 A window manager based on aewm++. Here is a compact list of changes
 between the original aewm++-1.1.16 and pekwm:

 * Better structured and formatted code.
 * Possibility to group windows in a single frame.
 * Configurable keygrabber.
 * Configurable rootmenu.
 * Configration file.
 * Xinerama support.
 * Smart window placement.
 * Basic pixmap theming, with configurable buttons."

conf_files="
/etc/pekwm/keys
/etc/pekwm/vars
/etc/pekwm/autoproperties
/etc/pekwm/mouse
/etc/pekwm/config
/etc/pekwm/menu
/etc/pekwm/start"

Add_dependency build pkg-config
Add_dependency run glibc
Add_dependency run lisbtdc++

_deps="fontconfig freetype jpeg libpng libICE libSM libX11 libXext"
_deps="${_deps} libXft libXinerama libXpm libXrandr libXrender"

for _dep_ in ${_deps}; do
	Add_dependency run	${_dep_}
	Add_dependency build	${_dep_}-devel
done
