For debian 10 and siril 1.0, here's a complete list of packages to install to build from git (adding git, cmake, libexiv2-dev):
git autoconf automake make gcc g++ libtool intltool pkg-config cmake libfftw3-dev libgsl-dev libcfitsio-dev libgtk-3-dev libconfig-dev libopencv-dev libcurl4-gnutls-dev libpng-dev libjpeg-dev libtiff5-dev libraw-dev libavformat-dev libavutil-dev libavcodec-dev libswscale-dev libswresample-dev libexiv2-dev