URL_PRE=$(curl https://www.citrix.com/downloads/workspace-app/ | grep "Citrix Workspace app.*Linux" | sort -r -k 5 | grep -v -i tech | head -n 1 | cut -d'"' -f2)
URL="http:$(curl https://www.citrix.com/${URL_PRE} | grep ctx-dl-lin | cut -d'"' -f10 | grep icaclient.*${HOST_ARCH}.*deb)"
FILE=$(echo "${URL}" | sed 's/.deb?.*/.deb/g')
FILE=${FILE##*/}
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'_' -f 2)"
PRETTY_NAME="Citrix Workspace App"
WEBSITE="https://www.citrix.com/en-gb/downloads/workspace-app/linux"
SUMMARY="Enables users to access virtual desktops and hosted applications delivered by XenDesktop and XenApp."
DEFVER=1
