Doesn't look that horrible. Provided you can actually get the axles out of it and remove the 3rd member (ie, all that stuff isn't fused together) the housing itself should be pretty easy to fix. I'd clean it up, find the holes, hammer the dents and then weld or braze the holes up. The leak may even be above the normal oil level.
Of course, that all would depend on it coming apart, sometimes when the gears go south they don't come apart very easily.