# Template file for 'fluxbox'
pkgname=fluxbox
version=1.3.5
revision=1
build_style=gnu-configure
configure_args="--enable-randr --enable-nls
 --with-pkg-exec-prefix=/usr --with-imlib2-prefix=${XBPS_CROSS_BASE}/usr
 ac_cv_lib_X11_XOpenDisplay=yes ac_cv_lib_Xft_XftFontOpen=yes
 ac_cv_lib_Xrender_XRenderCreatePicture=yes ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
 ac_cv_lib_Xinerama_XineramaQueryScreens=yes ac_cv_lib_Xext_XShapeCombineShape=yes
 ac_cv_lib_Xrandr_XRRQueryExtension=yes ac_cv_lib_fribidi_fribidi_version_info=yes"
hostmakedepends="pkg-config"
makedepends="libSM-devel libXrender-devel libXft-devel libXpm-devel imlib2-devel>=1.4.6_2
 libXext-devel libXinerama-devel libXrandr-devel fribidi-devel"
short_desc="Highly configurable and low resource X11 Window manager"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.fluxbox.org"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=164dd7bf59791d09a1e729a4fcd5e7347a1004ba675629860a5cf1a271c32983

post_install() {
	vinstall ${FILESDIR}/fluxbox.desktop 644 usr/share/xsessions
	vinstall COPYING 644 usr/share/licenses/${pkgname}
}
