### this file is sourced not run
PKGVER=3.0
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=imagination-$PKGVER.tar.gz
MD5SUM=ec7e6cf234020801a2af0fa04cfefef1
SRC_URL=http://downloads.sourceforge.net/imagination/$TARBALL
BUNDLE=

SLACKREQ='gtk2 ffmpeg sox gnome-icon-theme'
SLACKDESC="imagination: imagination $PKGVER (Video slideshow maker)  
imagination:  
imagination: Imagination is a lightweight and simple DVD slide show maker for 
imagination: Linux and FreeBSD written in C language and built with the GTK+2 
imagination: toolkit. It takes your images, add various effects and 
imagination: annotation, and produces a smooth-running video. Imagination has 
imagination: been designed from the ground up to be fast, light and 
imagination: easy-to-use.  
imagination: 
imagination: 
imagination: http://imagination.sourceforge.net/
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	export LIBS="-lgmodule-2.0 -lm"
	pkg_build_autoconf &&
	pkg_build_slackdesc && 
	
	# build wrapper
	mv /usr/bin/imagination /usr/bin/imagination.bin &&
	install -m644 /tmp/pkg/imagination-wrapper.sh /usr/bin/imagination
}
