Install libpspell-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpspell-dev
Development files for applications with pspell support
This package contains the headers and static libraries for developing applications with portable spell-checking interface (pspell) support. . You need this package ONLY if you plan to build applications that link against the pspell static libraries. You do not have to install this package if all you want to do is use the Aspell program to spell-check.