Here: I have the can of worms. There are four fixes to this problem
1. cut the top of the door on an angle so the gap looks good and works
2. move the hinges and leave the gap goofy
3. remove the trim on the latch side and the top, inside and out, cut the nails holding the frame on that side raise it until the gap looks good, shim behind frame to make the gap constant all the way around and replace trim. Trim will be to short, need to replace with new.
4. remove the whole frame and cut some off the hinge side and re-install, old trim will work but but may not hide damage at top.
With a level on the floor you can figure how much to remove from the hinge side
I think 1 & 2 can be seen from a glance and lower the value of the house.