# Template file for 'xteddy'
pkgname=xteddy
version=2.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="imlib2-devel libXext-devel"
short_desc="Your virtual comfort when things get rough"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://webstaff.itn.liu.se/~stegu/xteddy/"
distfiles="http://webstaff.itn.liu.se/~stegu/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=d8885a1e2e08787cb469857a9404619cadab9bddcae7fa398a565d53633291e2

post_extract() {
	sed '/AM_LDFLAGS =/s/$/ -lXext/' -i Makefile.*
        sed 's:/usr/games/xteddy:/usr/bin/xteddy:g' -i xtoys
}
