# Template file for 'wmfs'
pkgname=wmfs
version=201104
revision=3
build_style=configure
configure_args="--prefix /usr --man-prefix /usr/share/man --xdg-config-dir /etc/xdg"
makedepends="pkg-config libXft-devel libXrender-devel fontconfig-devel libXinerama-devel libXrandr-devel imlib2-devel"
short_desc="Window Manager From Scratch"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://wmfs.info/"
distfiles="https://github.com/downloads/xorg62/wmfs/wmfs-${version}.tar.gz"
checksum=c28b7cec28a6e3f2bc38a136fb1773bab8ec8f48c69ebe25c24192f96e782d64
long_desc="
 WMFS (Window Manager From Scratch) is a lightweight and highly configurable
 tiling window manager for X. It can be configured with a configuration file,
 supports Xft (Freetype) fonts and is compliant with the Extended Window
 Manager Hints (EWMH) specifications, Xinerama and Xrandr. WMFS can be driven
 with Vi based commands (ViWMFS). Optional Imlib2 support allow WMFS to draw
 image instead text everywhere you want with a simple sequence."

post_install() {
	vinstall COPYING 644 usr/share/licenses/wmfs
}

wmfs_package() {
	conf_files="/etc/xdg/wmfs/wmfsrc"
	pkg_install() {
		vmove etc
		vmove usr
	}
}
