If you have to replace pretty much everything on the brake system, I would sure look into going with the electric brakes. Even with adding the brake control (probably close to the cost of the master cylinder) on the truck, the electric brakes are likely going to be less expensive, and they have the added advantage of being able to apply only the trailer brakes to stop a tail wag condition, and they make it much easier to back the trailer up.