# Description: Front end for SANE-1.0.24. It has additional features to improve the image quality and ease of use
# URL: http://www.xsane.org/
# Maintainer: Oliver dot Rauch at xsane dot org
# Packager: pierre at nutyx dot org
# Depends on: gtk2 sane

description="sane frontend with additional features to improve the image quality and ease of use"
name=xsane
version=0.999
release=2

source=(http://www.xsane.org/download/xsane-$version.tar.gz)

build() {
cd xsane-$version
sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/xsane-save.c
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}
