#!/bin/sh
#

#
# Additional Packages
COMMON="joe keepass2 xdotool powerline fonts-powerline powerline-gitstatus curlftpfs libstdc++6"

_COMMON="
joe git tmux
keepass2 xdotool
brasero
sshfs curlftpfs openssh-server
fonts-powerline powerline python3-powerline python3-powerline-gitstatus
lib32stdc++6
"

MULTIMEDIA="qjackctl ardour calf-plugins eq10q fluid-soundfont-gm fluid-soundfont-gs lame kodi"

_MULTIMEDIA="
ffmpeg
kodi kodi-pvr-hts
spotify-client
"

TOOLS="evolution latexmk texlive-generic-recommended texlive-latex-extra texlive-lang-german texlive-fonts-recommended"

_TOOLS="
evolution
gnuplot
gnome-boxes
gvncviewer
texlive-binaries texlive-latex-extra texlive-lang-german texlive-fonts-recommended texstudio
gimp
"

PROGRAMMING="virtualenv python3-wxgtk4.0 qt5dxcb-plugin"

_PROGRAMMING="
pycodestyle
virtualenv
python-coverage python3-coverage python-jinja2 python3-jinja2
python-wxtools python3-wxgtk4.0
python3-evdev python3-serial
python3-sphinx python3-sphinx-rtd-theme
meld
retext
"

ALL=$COMMON\ $MULTIMEDIA\ $TOOLS\ $PROGRAMMING

echo The followin packages and their required depending packages will be installed:
echo ------------------------------------------------------------------------------
echo $ALL
echo ------------------------------------------------------------------------------
read -r -p "Are you sure? [y/N] " response
echo ------------------------------------------------------------------------------
case "$response" in
    [yY][eE][sS]|[yY])
        echo $ALL
        su --command="apt-get install -y $ALL"
        ;;
    *)
        echo Installation aborted!
        ;;
esac