#!/bin/sh
#

#
# Additional Packages
COMMON="
joe htop
rsync
owncloud-client
keepass xsel
sshfs curlftpfs
lib32-glibc brother-mfc-5890cn canon-pixma-ts5055-complete
tlp tlp-rdw
"

MULTIMEDIA="
rhythmbox audacious
kodi kodi-addon-pvr-hts
shotwell
photocollage
pro-audio pulseaudio-jack realtime-privileges soundfont-fluid
bluez bluez-utils pulseaudio-bluetooth bluedevil
"

TOOLS="
kmail korganizer kaddressbook kontact
freemind
libreoffice-fresh
texlive-bin texlive-latexextra
kile
gimp
librecad
xfig
docker docker-compose
kicad kicad-library kicad-library-3d
openscad
freecad
"

PROGRAMMING="
python-pip
python-virtualenv
python2
meld
gcc gdb
arduino picocom
"

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]) 
        yay -S --needed $ALL
        echo Enable bluetooth by: sudo systemctl enable --now bluetooth
        ;;
    *)
        echo Installation aborted!
        ;;
esac

