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

# source: james
TARBALL=ngspice-40.tar.gz
MD5SUM=d588364ec384d4d981e954276b2c7df4
SRC_URL=http://downloads.sourceforge.net/ngspice/$TARBALL
BUNDLE=

SLACKREQ='libfftw3 libreadline'
SLACKDESC="ngspice: ngspice $PKGVER (Circuit simulator)
ngspice: 
ngspice: Ngspice is a mixed-level/mixed-signal circuit simulator.
ngspice: 
ngspice: http://ngspice.sourceforge.net/
ngspice: 
ngspice: 
ngspice: 
ngspice: 
ngspice: 
ngspice:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS   \
		--with-readline=yes \
		--enable-xgraph     \
		--enable-xspice     \
		--with-ngshared     \
	" &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}
