estate tax

Our mother recently passed, and we are in the process of selling the house.  The house is in a trust which my parents set up before our father passed.  After the sale of the home and the distribution of funds to the four brothers, how are taxes calculated and is it the trust account which will need to file for the taxes next year or the individual heirs?