# Template file for 'bluefish'
pkgname=bluefish
version=2.2.6
revision=1
lib32disabled=yes
build_style=gnu-configure
configure_args="--enable-spell-check --disable-update-databases --disable-xml-catalog-update"
hostmakedepends="pkg-config intltool gdk-pixbuf-devel libxml2-devel"
makedepends="libxml2-devel gtk+3-devel enchant-devel gucharmap-devel xmlcatmgr"
depends="hicolor-icon-theme desktop-file-utils xmlcatmgr"
xml_entries="nextCatalog /usr/share/xml/bluefish/catalog.xml --"
pycompile_dirs="/usr/share/bluefish"
short_desc="A powerful HTML editor for experienced web designers and programmers"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://bluefish.openoffice.nl/"
distfiles="http://www.bennewitz.com/bluefish/stable/source/bluefish-${version}.tar.bz2"
checksum=54c2892c317eb2287c9fb0a3e29c3f19bef51d9ab0353bfb158e52a1cdae4216

# Package build options
build_options="python"
desc_option_python="Enable support for python plugin"

if [ "$build_option_python" ]; then
	configure_args+=" --enable-python"
	makedepends+=" python-devel"
	depends+=" python"
else
	configure_args+=" --disable-python"
fi
