glue/sealant used for installing transom

I’m installing a transom above a door. All wood is new wood. Can someone suggest a tough glue/sealant that should be used between the two mating surfaces (surface of the transom frame and the recess of the door frame its fitting into)?
Thank you.