SUMMARY="A visual version for GNU's wget"
DESCRIPTION="VWGet is a visual frontend for GNU wget. You can both run it from \
the command line, passing the same arguments you would pass to wget or launch \
it as a normal app and select the URL and destination in the GUI."
HOMEPAGE="https://github.com/HaikuArchives/VWGet"
COPYRIGHT="1999 Santiago Lema"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="git+https://github.com/HaikuArchives/VWGet.git#29ff74d068526c01edf7e1c0ef887a8f4fac252f"

ARCHITECTURES="x86_gcc2 x86 x86_64"

PROVIDES="
	vwget = $portVersion
	app:VWGet = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:make
	cmd:gcc
	"

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $appsDir
	cp -a objects/VWGet $appsDir
	addAppDeskbarSymlink $appsDir/VWGet
}
