Check if all build dependencies of a package are in main
404main <package name> [<distribution>]
404main is a script that can be used to check if a package and all its build dependencies are in Ubuntu's main component or not.
404main will take the dependencies and build dependencies of the packages from the distribution you have first in your /etc/apt/sources.list file.
Also, because of this the <distribution> option is NOT trustworthy; if the dependencies changed YOU WILL GET INCORRECT RESULTS.