# Template file for 'fluxbox'
pkgname=fluxbox
version=1.3.7
revision=2
build_style=gnu-configure
configure_args="--enable-nls
 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
 libXext-devel libXinerama-devel libXrandr-devel fribidi-devel"
short_desc="Highly configurable and low resource X11 Window manager"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.fluxbox.org"
license="MIT"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=fc8c75fe94c54ed5a5dd3fd4a752109f8949d6df67a48e5b11a261403c382ec0

case "$XBPS_TARGET_MACHINE" in
	*-musl) configure_args="${configure_args/enable-nls/disable-nls}" ;;
esac
post_install() {
	vinstall ${FILESDIR}/fluxbox.desktop 644 usr/share/xsessions
	vlicense COPYING
}
