# Template file for 'xournal'
pkgname=xournal
version=0.4.7
revision=1
build_style=gnu-configure
make_install_args="desktop-install"
hostmakedepends="autoconf automake pkg-config"
makedepends="gtk+-devel libgnomecanvas-devel>=2.30.3_1 poppler-glib-devel zlib-devel ghostscript-devel"
makedepends+=" hicolor-icon-theme desktop-file-utils"
short_desc="Xournal: GPL Notetaking, sketching, and journal-keeping."
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://xournal.sourceforge.net/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=d1ceb9c3a0b0172f7c2389bfe188a13cdc9f9f4c3ddc30095d635edf1367ac89
long_desc="
 Xournal is an application for notetaking, sketching, keeping a journal using
 a stylus. It is free software (GNU GPL) and runs on Linux (recent
 distributions) and other GTK+/GNOME platforms. It is similar to Microsoft
 Windows Journal or to other alternatives such as Jarnal, Gournal, and
 NoteLab.
 
 Xournal aims to provide superior graphical quality (subpixel resolution) and
 overall functionality.
 
 Supports PDF import and export."

xournal_package() {
	depends="hicolor-icon-theme desktop-file-utils ghostscript"
	pkg_install() {
		vmove usr
	}
}
