#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=sshfs
pkgver=2.6
pkgrel=1gv
_tag=sshfs_${pkgver/./_}
source=("https://github.com/libfuse/sshfs/archive/${_tag}.zip")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "faq.txt")
url=https://github.com/libfuse/sshfs

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"sshfs (filesystem client based on the SSH File Transfer Protocol)"
"Since most SSH servers already support the SSH protocol, sshfs is very"
"easy to set up: i.e. on the server side there's nothing to do. On the"
"client side mounting the filesystem is as easy as logging into the"
"server with ssh."
)


build() {
	cd $startdir/src/${pkgname}-${_tag}

	autoreconf -i
	
	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
}