Build OpenConnect

apt install -y \
  autoconf autogen automake autopoint bison build-essential dash dns-root-data \
  gawk gettext git-core gperf gtk-doc-tools guile-2.2-dev libev-dev \
  libgtk-3-dev libidn2-0-dev libp11-kit-dev libtasn1-6-dev libtomcrypt-dev \
  libtool libtspi-dev libunbound-dev libunistring-dev libxml2-dev nettle-dev \
  python3-pip texinfo texlive texlive-extra-utils vim 
python3 -m pip install meson

git clone http://gitlab.com/gnutls/gnutls.git -b 3.6.16 ~/gnutls
cd ~/gnutls
./bootstrap
./configure
make -j8
make install

git clone https://github.com/p11-glue/p11-kit -b 0.24.0 ~/p11-kit
cd ~/p11-kit
meson _build
meson compile -C _build
meson install -C _build

git clone https://github.com/cernekee/stoken.git -b v0.92 ~/stoken
cd ~/stoken
./autogen
./configure
make -j8
make install

mkdir -p /etc/vpnc
curl -L "https://gitlab.com/openconnect/vpnc-scripts/raw/master/vpnc-script" > /etc/vpnc/vpnc-script
chmod +x /etc/vpnc/vpnc-script

git clone git://git.infradead.org/users/dwmw2/openconnect.git ~/openconnect
cd ~/openconnect
./autogen
./configure
make -j8
make install
ldconfig