config FREETZ_PACKAGE_PYLOAD
	bool "pyLoad 0.4.9-git-stable-branch"
	select FREETZ_BUSYBOX_START_STOP_DAEMON
	select FREETZ_PACKAGE_PYTHON
	select FREETZ_PACKAGE_PYTHON_MOD_CTYPES
	select FREETZ_PACKAGE_PYTHON_MOD_GRP
	select FREETZ_PACKAGE_PYTHON_MOD_JSON
	select FREETZ_PACKAGE_PYTHON_MOD_MULTIPROCESSING
	select FREETZ_PACKAGE_PYTHON_MOD_SQLITE
	select FREETZ_PACKAGE_PYTHON_MOD_UNICODEDATA
	select FREETZ_PACKAGE_PYTHON_MOD_WSGIREF
	select FREETZ_PACKAGE_PYTHON_IMAGING_LIBRARY
	select FREETZ_PACKAGE_PYTHON_PYCRYPTO
	select FREETZ_PACKAGE_PYTHON_PYCURL
	select FREETZ_PACKAGE_PYTHON_PYOPENSSL
	select FREETZ_LIB_libcurl_WITH_SSL
	select FREETZ_PACKAGE_JS
	default n
	help
		pyLoad is a fast, lightweight and full featured download manager
		for many One-Click-Hoster, container formats like DLC, video sites
		or just plain http/ftp links.

choice
	depends on FREETZ_PACKAGE_PYLOAD
	prompt "Version"
	default FREETZ_PACKAGE_PYLOAD_VERSION_LATEST_TESTED

	config FREETZ_PACKAGE_PYLOAD_VERSION_LATEST_TESTED
		bool "latest tested by freetz developers"

	config FREETZ_PACKAGE_PYLOAD_VERSION_LATEST_GIT
		bool "latest git revision"
		help
			Note this increases build time by about 2 seconds
			since the latest git-revision is determined anew
			on each make invocation.

endchoice

config FREETZ_PACKAGE_PYLOAD_EXTRACT
	bool "With unrar and unzip for file unpacking"
	depends on FREETZ_PACKAGE_PYLOAD
	select FREETZ_PACKAGE_UNRAR
	select FREETZ_BUSYBOX_UNZIP
	help
		This selects unrar and unzip packages for file unpacking.

config FREETZ_PACKAGE_PYLOAD_WITH_TESSERACT
	bool "With Tesseract OCR for captcha recognition"
	depends on FREETZ_PACKAGE_PYLOAD && FREETZ_PACKAGE_TESSERACT_AVAILABLE
	select FREETZ_PACKAGE_TESSERACT
	default n
	help
		Causes Tesseract OCR to be added to the image
		for captcha recognition support in pyLoad.

		Note:
		 - Tesseract OCR is a huge package.
		 - pyLoad support for captcha recognition
		   is very limited even with Tesseract OCR.

		You most probably want to say 'no' here.

config FREETZ_PACKAGE_PYLOAD_WITH_LIGHTWEIGHT_WSGI_SERVER
	bool "With support for lightweight WSGI server"
	depends on FREETZ_PACKAGE_PYLOAD
	select FREETZ_PACKAGE_PYTHON_BJOERN
	default n
	help
		This selects python-bjoern module - a module providing
		an alternative WSGI server implementation for Python
		pretending to be fast and ultra-lightweight.
		Activating this option allows you to say 'lightweight'
		while configuring pyLoad and answering the question
		for the web-server backend.
