# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=filezilla
pkgver=3.31.0
pkgrel=0
pkgdesc="FTP Client"
url="http://filezilla-project.org"
arch="all"
license="GPL-2.0"
makedepends="libfilezilla-dev wxgtk-dev libidn-dev nettle-dev gnutls-dev
	pugixml-dev xdg-utils gtk+2.0-dev sqlite-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://downloads.sourceforge.net/project/filezilla/FileZilla_Client/$pkgver/FileZilla_${pkgver}_src.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--without-dbus
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

check() {
	cd "$builddir"
	make check
}

sha512sums="fefb1217a39214dfd1441fa45b37a461b2dab3cc80eeb82b8c1eb88b74e8be3ef6c436cbe5dba705feeb938bb2fc970863f28502d16097d01fdbf8c400b5e901  FileZilla_3.31.0_src.tar.bz2"
